
	
function jinrtuijain(type,goodstyps){
	 //alert('')
	    $.ajax({
        url:urlcore+"/api/rushGoods/comprehensive?type="+type+"&goodstype="+goodstyps,
			type: "get",
			dataType: 'json',
			contentType: "application/json;charset=utf-8",
			success: function(data) {
				if(data.success == true) {
				//alert(JSON.stringify(data.data));
	var shenyucishu='<div class="sell_jinri_cishu">已报名商品</div>';
				 $.each(data.data, function(y,n) {
				 	
				 //	alert(n.goods);
				shenyucishu+='<div class="clearfix tuwen">'+
'    	<a href="#">'+
'	        <div class="tuwen-img fl">'+
'	            <img  onerror="errorImg(this)" src="'+n.goods.coverUrl+'" width="75" height="75">'+
'	        </div>'+
'	        <div class="tuwen-wenzi">'+
'	            <h5 class="wuye_h01">'+n.goods.goodsTitle+'</h5>'+
'	        </div>'+
'        </a>'+
'    </div>';
				 });
				// alert('')
				  $("#shenyucishu").append(shenyucishu);	 	 
				}else{
					
				var shenyucishu='<div class="sell_jinri_cishu">已报名商品</div>';
			 $("#shenyucishu").append(shenyucishu);	
				}
			},
			error: function() {
				alert("error");
			}
		});

	
}


function jinrtuijain2(type){
	    $.ajax({
        url:urlcore+"/api/rushGoods/comprehensive?type="+type,
			type: "get",
			dataType: 'json',
			contentType: "application/json;charset=utf-8",
			success: function(data) {
				if(data.success == true) {
					//alert(JSON.stringify(data.data))
				
	var shenyucishu='<div class="sell_jinri_cishu">已报名品牌</div>';
				 $.each(data.data, function(y,n) {
				 //	alert(n.goods);
				shenyucishu+='<div class="clearfix tuwen">'+
'    	<a href="#">'+
'	        <div class="tuwen-img fl">'+
'	            <img src="'+n.brandImg+'" width="75" height="75">'+
'	        </div>'+
'	        <div class="tuwen-wenzi">'+
'	            <h5 class="wuye_h01">'+n.brandName+'</h5>'+
'	        </div>'+
'        </a>'+
'    </div>';
			   
				 });
				 
				  $("#shenyucishu").append(shenyucishu);	 	 
				}else{
					
				var shenyucishu='<div class="sell_jinri_cishu">已报名品牌</div>';
			 $("#shenyucishu").append(shenyucishu);	
				}
			},
			error: function() {
				alert("error");
			}
		});

	
}



